﻿<%@ Page Language="C#" AutoEventWireup="false" CodeBehind="Login.aspx.cs" Inherits="NopSolutions.NopCommerce.Web.Administration.LoginPage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>NopCommerce Administration: Login</title>
    <style type="text/css">
        body {
            padding-top: 60px !important;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="sm" runat="server" ScriptMode="Release">
            <CompositeScript>
                <Scripts>
                    <asp:ScriptReference Path="~/Scripts/jquery-1.7.1.min.js" />
                    <asp:ScriptReference Path="~/Scripts/bootstrap.min.js" />
                </Scripts>
            </CompositeScript>
        </asp:ScriptManager>

        <div class="container">
            <div class="row">
                <div class="col-lg-6 col-lg-offset-3">
                    <div class="jumbotron">
                        <h1>nopcommerce <small>login</small></h1>

                        <div class="form-group">
                            <asp:Label ID="lUsernameOrEmail" runat="server" Text="E-Mail" AssociatedControlID="UserName" CssClass="control-label" />
                            <div class="controls">
                                <asp:TextBox ID="UserName" runat="server" CssClass="form-control" />
                                <asp:RequiredFieldValidator ID="UserNameOrEmailRequired" runat="server" ControlToValidate="UserName" ErrorMessage="Username is required." ToolTip="Username is required." ValidationGroup="LoginForm" Display="Dynamic" />
                            </div>
                        </div>
                        <div class="form-group">
                            <asp:Label ID="lPassword" runat="server" Text="<% $NopResources:Login.Password %>" AssociatedControlID="Password" CssClass="control-label" />
                            <div class="controls">
                                <asp:TextBox ID="Password" TextMode="Password" CssClass="form-control" runat="server" MaxLength="50" />
                                <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password" ErrorMessage="<% $NopResources:Login.PasswordRequired %>" ToolTip="<% $NopResources:Login.PasswordRequired %>" ValidationGroup="LoginForm" Display="Dynamic" />
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="btn-group" data-toggle="buttons">
                                <label class="btn btn-default">
                                    <asp:CheckBox ID="RememberMe" runat="server" />
                                    <%= GetLocaleResourceString("Login.RememberMe")%></label>
                            </div>
                        </div>

                        <asp:Panel ID="pnlError" runat="server" CssClass="aler-box error">
                            <asp:Literal ID="FailureText" runat="server" EnableViewState="False" />
                        </asp:Panel>

                        <p><asp:Button ID="LoginButton" runat="server" CommandName="Login" Text="<% $NopResources:Login.LoginButton %>" ValidationGroup="LoginForm" CssClass="btn btn-lg btn-block btn-primary" /></p>

                        <p><asp:HyperLink ID="hlForgotPassword" runat="server" NavigateUrl="~/passwordrecovery.aspx" Text="<% $NopResources:Login.ForgotPassword %>" /></p>
                    </div>
                </div>
            </div>

        </div>

    </form>
</body>
</html>
